//
//  SPAnnotation.h
//  SPMapKit
//
//  Created by zhangbo on 2017/9/8.
//  Copyright © 2017年 zhangbo. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#import <MapKit/MapKit.h>

@protocol SPAnnotation <NSObject>

@property (nonatomic, assign) CLLocationCoordinate2D coordinate;

@property (nonatomic, strong) NSString *title;
@property (nonatomic, strong) NSString *subtitle;

-(NSString*) identityKey;

@end

@protocol SPOverlay <SPAnnotation>

-(CGRect) mapRect;

@end
